package com.sheng.aop;

import org.aspectj.lang.ProceedingJoinPoint;

public class AOPAdvice {

    public void  before(){
        System.out.println("before.....");
    }
    public  void after(){
        System.out.println("after.....");
    }
    public  void around(ProceedingJoinPoint pjp) throws Throwable {
        System.out.println("前置");
        Object proceed = pjp.proceed();
        System.out.println("后置");
    }
}
